
let login = ()=>{
    
    return [
        
        (loader) =>{
            
           //加载任务
           
           setTimeout(() => {
            loader.statusComplete()
           }, 1000)
        },
        (loader) =>{
            
            // let i = 0

            // let finishCallback = ()=>{

            //     ++i
            //     if (i > 0)
            //     {
            //         loader.statusComplete()
            //     }
            // }

            // require('Mail').init(finishCallback)
            loader.statusComplete()
        },

        (loader) =>{
            
            loader.statusComplete()
        },

        (loader) =>{
            

            loader.statusComplete()
        }
    ]
}


let home = (combat)=>{
    
    return [
        (loader) =>{
            

            loader.statusComplete()
        }
        
    ]
}


let adventes = (adventeId)=>{


    return [
        (loader) =>{
            

            loader.statusComplete()
        }
    ]
}


module.exports = {

    login,
    home,
    adventes
}
